@import "~@/public-style.less";
// 垂直居中
.vertically-centered{
    display: flex;
    align-items: center;
}
.header-container{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(255,255,255,.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    .left{
        .vertically-centered();
        padding-left:30px;
        .logo{
            width: 40px;
            height: 40px;
            display: inline-block;
            img{
                width: 100%;
                height: 100%;
                border-radius: 50%;
                overflow: hidden;
            }
        }
        .title{
            margin-left:10px;
            font-size: 18px;
            color:@White-theme-title-color;
            font-family: 'Times New Roman', Times, serif;
        }
    }
    .right{
        .vertically-centered();
        padding-right:30px;
        .button{
            padding:5px 15px;
            border-radius: 5px;
            font-family:'Times New Roman', Times, serif;
            &.login{
                background-color: @foreground-color;
                margin-right:10px;
                color:@collocation-foreground-color;
                cursor: pointer;
                &:hover{
                    background-color: @foreground-desaturate-color;
                }
            }
            &.registered{
                color:@foreground-color;
                cursor: pointer;
                &:hover{
                    color: @foreground-desaturate-color;
                }
            }
        }
    }
}